home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / appletalk / netatalk / afs / afsprivsrc.sit.hqx / AFS Privileges 1.50 / privileges.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-21  |  4.5 KB  |  154 lines

  1. /*
  2. ****************************************************************************
  3. *Copyright 1992 Regents of The University of Michigan - All Rights Reserved*
  4. *                                                                          *
  5. * Permission to use, copy, modify, and distribute this software and its    *
  6. * documentation for any purpose and without fee is hereby granted,         *
  7. * provided that the above copyright notice appears in all copies and that  *
  8. * both that copyright notice and this permission notice appear in          *
  9. * supporting documentation, and that the name of The University of Michigan*
  10. * not be used in advertising or publicity pertaining to distribution of    *
  11. * the software without specific, written prior permission. This software   *
  12. * is supplied as is without expressed or implied warranties of any kind.   *
  13. *                                                                          *
  14. *            Center for Information Technology Integration                 *
  15. *                  Information Technology Division                         *
  16. *                     The University of Michigan                           *
  17. *                       519 W. William Street                              *
  18. *                     Ann Arbor, Michigan 48103                            *
  19. *                         +1 313-764-5440                                  *
  20. *                       FAX: +1 313-764-4434                               *
  21. *                        info@citi.umich.edu                               *
  22. *                       I like cheddar cheese                              *
  23. ****************************************************************************
  24. */      
  25.  
  26. #define kTABKEY        12288     /* tab key code used for focus */
  27. #define kDOWNKEY    32000    /* down arrow key code */
  28. #define kUPKEY        32256    /* up arrow key code */
  29. #define kPeriod        12032
  30. #define    kEscape        13568
  31. #define OLD_UP_ARROW    0x4D
  32. #define OLD_DOWN_ARROW    0x48
  33. #define UP_ARROW    0x7E
  34. #define DOWN_ARROW    0x7C
  35. #define PAGE_UP        0x74
  36. #define PAGE_DOWN    0x79
  37. #define    HOME_KEY    0x73
  38. #define END_KEY        0x77
  39. #define ENTER_KEY    0x4C
  40. #define RETURN_KEY    0x24
  41.  
  42. #define DITL_PRIV    150
  43. #define DLOG_ABOUT    151
  44. #define DITL_ABOUT    151
  45. #define DLOG_ADD    152
  46. #define DITL_ADD    152
  47. #define DLOG_DEL    153
  48. #define DITL_DEL    153
  49. #define DLOG_ERROR    154
  50. #define DITL_ERROR    154
  51. #define DLOG_NEGDEL 155
  52. #define DITL_NEGDEL 155
  53. #define DLOG_QUIT    156
  54. #define DITL_QUIT    156
  55. #define DLOG_ELVS    157
  56. #define DITL_ELVS    157
  57. #define    DLOG_INFO    158
  58. #define DITL_INFO    158
  59.  
  60. #define TEXT_INFO    128
  61.  
  62. #define ALRT_NOAFS    160
  63. #define DITL_NOAFS    160
  64. #define ALRT_BOGNEG    161
  65. #define DITL_BOGNEG 161
  66.  
  67. #define CNTL_POPUP    170
  68. #define PICT_ELVS    171
  69.  
  70. #define ACUR_SPIN    0
  71.  
  72. #define OKBUTTON    1      /* okay buttons */
  73. #define ADDBUTTON    10    /* add button from main dialog */
  74. #define REMBUTTON    11    /* remove group button from main dialog */
  75. #define VERS_MAIN    1
  76. #define VERS_SUB    2
  77. #define VERS_BONUS    3
  78.  
  79. #define FNDR_HELP    -5696
  80. #define STR_HELP    128
  81.  
  82. /* these next three are used in Dave Koziol's getmacname function */
  83. #define rMacintoshName    -16413 
  84. #define rUserName        -16096
  85. #define rDefaultName    129
  86. #define ICL_IFS        31
  87. #define ICL_AFS     35
  88. #define SND_LOVE    30
  89. #define ICON_IFS    24
  90. #define MENUBAR        28
  91. #define ICON_QUES    50
  92. #define SICN_FOLD    257
  93. #define SICN_OPEN    258
  94. #define SICN_DROP    259
  95. #define    SICN_DESK    260
  96. #define SICN_SHAR    261
  97. #define SICN_DOWN    270
  98.  
  99. #define MENU_APPLE    200
  100. #define MENU_FILE    201
  101. #define MENU_EDIT    202
  102. #define MENU_POPUP    203
  103. #define MENU_POSONEG 204
  104. #define MENU_CONVIN 205 // if YOU change this number, you'll have to resedit the 
  105.                         // hierarchial control character into the *r file's Options menu
  106. #define MENU_OPTION 206
  107. #define MENU_DESKTOP 215
  108.  
  109. #define    wideMenuProc    128
  110.  
  111. #define kSettings 2        // Convienent settings appears in position >2< of the Options
  112.                         // menu.  If you move it, change this...
  113.                         
  114.  
  115. /* these defs here go with the main window.... */
  116. #define ITEM_FIRSTBOX 1
  117. #define ITEM_SECONDBOX 2
  118. #define ITEM_POPUPMENU 12
  119. #define ITEM_GROWBOX 13
  120. #define ITEM_POSITIVE 14
  121. #define    ITEM_NEGBOX 15
  122. #define ITEM_NEGTITLE 16
  123. #define OBNOXIOUSHIGHNUMBER -9999
  124.  
  125. #define SIZEOFSICN    31
  126. #define RECT_POPUPMENU { 1, 9, 22, 172 }
  127. #define kmainDialogboxsize { 40, 40, 215, 465 }
  128. #define        RIGHTS        3
  129.  
  130. #define INFO_ITEM 2
  131.  
  132. /* these defs go with the add dialog */
  133. #define ITEM_OK                1
  134. #define ITEM_CANCEL         2
  135. #define ITEM_ADDGROUPEDIT    3
  136.  
  137.  
  138. #define        OFF            FALSE
  139. #define        ON            TRUE
  140.  
  141. #ifndef        NIL
  142. #define        NIL            0L
  143. #endif
  144.  
  145. #ifndef Rez
  146. Boolean isafsVCB( AVCB *vcb );
  147. AVCB *getVCBbyrefnum( short refnum );
  148.  
  149. extern    long            MyCurDir;
  150. extern    Boolean            selectp;
  151. extern    int                currSel;
  152. extern    short            xppRNum;
  153. #endif !Rez
  154.